:root {

    .el-form {

        .el-form-item:last-of-type {
            margin-bottom: 0 !important;
        }

        &.el-form--inline {
            .el-form-item--large.el-form-item:last-of-type {
                margin-bottom: 22px !important;
            }

            .el-form-item--default.el-form-item:last-of-type,
            .el-form-item--small.el-form-item:last-of-type {
                margin-bottom: 18px !important;
            }
        }

        .el-form-item .el-form-item__label .el-icon {
            margin-right: 0px;
        }
    }

    .el-alert {
        border: 1px solid;
    }

    .el-alert__title {
        word-break: break-all;
    }

    .el-message {
        min-width: unset !important;
        padding: 15px !important;
        box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.02);
    }

    .el-overlay {
        overflow: hidden;

        .el-overlay-dialog {
            display: flex;
            align-items: center;
            justify-content: center;
            position: unset !important;
            width: 100%;
            height: 100%;

            .el-dialog {
                margin: 0 auto !important;
                position: absolute;

                .el-dialog__body {
                    padding: 20px !important;
                }
            }
        }
    }

    .el-dialog__body {
        max-height: calc(90vh - 111px) !important;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .el-card__header {
        padding: 15px 20px;
    }

    .el-table {
        .el-button.is-text {
            padding: 0;
        }
    }

    .el-drawer {
        --el-drawer-padding-primary: unset !important;

        .el-drawer__header {
            padding: 0 15px !important;
            height: 50px;
            display: flex;
            align-items: center;
            margin-bottom: 0 !important;
            border-bottom: 1px solid var(--el-border-color);
            color: var(--el-text-color-primary);
        }

        .el-drawer__body {
            width: 100%;
            height: 100%;
            overflow: auto;
        }
    }

    .el-form-tips {
        margin-top: 4px;
        font-size: var(--el-font-size-extra-small);
        line-height: 24px;
        color: var(--el-text-color-secondary);
    }
}